<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
 <jsp:include page="../header.jsp"></jsp:include>

<fieldset class="layui-elem-field layui-field-title">
  <legend>修改部门</legend> 
</fieldset>
<form action="dept/edit" method="post" class="layui-form"> 
<input type="hidden"  name="id"value="${dept.id}" ><br>
	<div class="layui-form-item">
		<label class="layui-form-label">部门名称</label>
		<div class="layui-input-inline">
			<input type="text" name="name" value="${dept.name}" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">办公地点</label>
		<div class="layui-input-inline">
			<input type="text" name="room" value="${dept.room}" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">联系电话</label>
		<div class="layui-input-inline">
			<input type="text" name="phone" value="${dept.phone}" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
			<label class="layui-form-label"></label>
			<div class="layui-input-inline">
				<input type="submit" value="修改"  class="layui-btn layui-btn-primary layui-border-blue">
			</div>
	</div>

</form>
 <jsp:include page="../footer.jsp"></jsp:include>
